﻿using System;
using System.Collections.Generic;
using System.Text;
using ESRI.ArcGIS.ADF;
using ESRI.ArcGIS.Controls;
using ESRI.ArcGIS.Server;
using ESRI.ArcGIS.SystemUI;
using ESRI.ArcGIS.Carto;
using ESRI.ArcGIS.Geodatabase;
using ESRI.ArcGIS.Geometry;

namespace PlanningGIS.Framework
{
    /// <summary>
    /// 
    /// </summary>
    public interface IFeatureSnapAgent : ISnapAgent
    {
        /// <summary>
        /// 
        /// </summary>
        IFeatureCache FeatureCache { get; }

        /// <summary>
        /// 
        /// </summary>
        IFeatureClass FeatureClass { get; set; }

        /// <summary>
        /// 
        /// </summary>
        esriGeometryHitPartType HitType { get; set; }

        /// <summary>
        /// 
        /// </summary>
        new string Name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <param name="inPoint"></param>
        /// <param name="outPoint"></param>
        /// <param name="tolerance"></param>
        /// <param name="distance"></param>
        /// <returns></returns>
        new bool Snap(IPoint inPoint, out IPoint outPoint, double tolerance, ref double distance);
    }
}
